package com.example.lagou_elasticsearch_homework.es.dao;

import com.example.lagou_elasticsearch_homework.es.model.PositionES;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface PositionRepositoryES extends ElasticsearchRepository<PositionES,Integer> {

    public List<PositionES> findByPositionName(String positionName);
}
